﻿// <copyright file="ClipInformation.cs" company="Microsoft Corporation">
// Copyright (c) 2009 Microsoft Corporation All Rights Reserved
// </copyright>
// <author>Michael S. Scherotter</author>
// <email>mischero@microsoft.com</email>
// <date>2009-11-27</date>
// <summary>ClipInformation class definition</summary>

namespace Microsoft.WebAnalytics.Data
{
    using System;
    using System.Runtime.Serialization;
    using System.Windows;

    /// <summary>
    /// Clip information
    /// </summary>
    [DataContract]
    public class ClipInformation
    {
        /// <summary>
        /// Gets or sets the Clip Clickthrough URL
        /// </summary>
        [DataMember]
        public Uri ClickThroughUrl { get; set; }

        /// <summary>
        /// Gets or sets the Clip URL
        /// </summary>
        [DataMember]
        public Uri ClipUrl { get; set; }

        /// <summary>
        /// Gets or sets the clip duration
        /// </summary>
        [DataMember]
        public Duration Duration { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether the source is smooth streaming
        /// </summary>
        [DataMember]
        public bool IsSmoothStreamingSource { get; set; }
    }
}
